<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\SoftDeletes;

class StudentModel extends BaseModel
{
    use HasFactory;
    use SoftDeletes;

    protected $table = 'student';
    protected $primaryKey = 'id';
    protected $fillable = [
        'company_id',
        'code',
        'name',
        'sex',
        'birthday',
        'grade',
        'img',
        'address',
        'parent_relation',
        'parent_name',
        'parent_phone',
        'parent_wx_id',
        'referrer',
        'referrer_name',
        'teacher',
        'teacher_name',
    ];
}
